<%@ page import="bidsanity.Customer" %>
    <li><g:link action="Index">View All Customers</g:link></li>
    <g:if test="${session.user && Customer.findByEmailAddress(session.user).isAdmin}">
        <li><g:link action="Create">Create New Customer</g:link></li>
    </g:if>
    <g:elseif test="${!session.user}">
        <li><g:link action="Create">Register</g:link></li>
    </g:elseif>